//
//  SDSMSVerifyCodeData.m
//  SKinDiary
//
//  Created by pcyang on 16/7/12.
//  Copyright © 2016年 tencent. All rights reserved.
//

#import "SDSMSVerifyCodeData.h"

@implementation SDSMSVerifyCodeData
-(NSString*)getFullURL
{
    return [NSString stringWithFormat:@"%@/smscode",[[SDServerSwitchManager sharedInstance] getServerUrl]];
}

-(NSDictionary*) getPostDictionary
{
    NSMutableDictionary* dict = [NSMutableDictionary dictionaryWithCapacity:6];
    [dict setObject:_mobileNumber forKey:@"phoneNo"];
    [dict setObject:[NSNumber numberWithInt:_type] forKey:@"type"];
    
    return dict;
}

+(id)modelFromResponseValues:(id)infos error:(NSError**)error
{
    return infos;
}

- (id)resetWithResponseModel:(id)data
{
    NSNumber *num = [data objectForKey:@"success"];
    //_outIsSuccess = [num boolValue];
    return nil;
}

@end
